{% extends "admin/admin_base.html" %}
{% load i18n %}
{% block navItem %}adminNavBase.adminPhotoalbumsNav{% endblock %}
{% block title %}
{% trans "Photo albums" %}
{% endblock %}

{% block content %}
<H3>{%  trans "Photo albums" %}</h3>
<a href="/admin/photoalbums/album">{% trans "Add album" %}</a>
<ul style="">
    {% for album in albums %}
    <li>
        <div>
            <a href="/admin/photoalbums/delete_album/{{ album.key.id }}"><img src="/media/images/delete.png" alt="" ></a>&nbsp;
            <a href="/admin/photoalbums/album/{{ album.key.id }}">
            {{ album.subject }}
            </a>
        </div>
    </li>
    {% endfor %}
</ul>

{% endblock %}